import axios from "axios";

// 获取icon菜单
let list = (params) => axios.get('/api/admin/icon/list', { params });

//设置子集菜单图标
let icon = (data) => axios.put('/api/menu/icon', data);

export default {
	list,
	icon
}
